package com.gjs.cd;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableDiscoveryClient
@EnableDubbo
@EnableAsync
@EnableScheduling //开启定时任务
@EnableTransactionManagement//开启事务管理
public class CdApplication {

    public static void main(String[] args) {
        SpringApplication.run(CdApplication.class, args);
    }

}
